from pyspark import SparkConf, SparkContext

conf = SparkConf().setMaster('local[*]').setAppName('my_test_spark')

spark_context = SparkContext(conf=conf)

print(F'版本是：{spark_context.version}')

spark_context.stop()
